package com.juneyao.log.logcenter.domain.vo;

import com.juneyao.log.logcenter.domain.response.LogOperateResponse;

import java.io.Serializable;
import java.util.List;

/**
 * @author quanbiao
 * @date 2018-07-31
 * 返回数据
 */
public class OperateResultData implements Serializable {

    private static final long serialVersionUID = -8372080114380662884L;

    /**
     * 当前页码
     */
    private int currentPageNum;

    /**
     * 总条数
     */
    private long count;

    /**
     * 分页数据
     */
    private List<LogOperateResponse> datas;

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public List<LogOperateResponse> getDatas() {
        return datas;
    }

    public void setDatas(List<LogOperateResponse> datas) {
        this.datas = datas;
    }


    public int getCurrentPageNum() {
        return currentPageNum;
    }

    public void setCurrentPageNum(int currentPageNum) {
        this.currentPageNum = currentPageNum;
    }

    public OperateResultData(int currentPageNum, long count, List<LogOperateResponse> datas) {
        this.currentPageNum = currentPageNum;
        this.count = count;
        this.datas = datas;
    }

    public OperateResultData() {
    }
}
